| Total Complexity | 40 | 
| Dependencies | 11 | 
| Dependents | 2 | 
| Total lines | 349 | 
| Lines of code | 144 | 
| Logical lines of code | 67 | 
| Comment lines | 133 | 
| Methods | 14 | 
| Properties | 4 | 
| Method | Rating | Maintainability | Complexity | Lines of code | 
|---|---|---|---|---|
| hooks() | 53 | 9 | 24 | |
| log_webhook() | 54 | 7 | 22 | |
| dispatch_square_webhooks_payload() | 50 | 6 | 27 | |
| register_rest_routes() | 58 | 2 | 16 | |
| process_event() | 64 | 3 | 9 | |
| dispatch_with_url_param() | 71 | 2 | 6 | |
| get_webhook_signature() | 70 | 2 | 6 | |
| get_webhook_signing_secret() | 68 | 2 | 7 | |
| is_rest_verification() | 78 | 2 | 3 | |
| init() | 82 | 1 | 3 | |
| dispatch_with_error_500() | 73 | 1 | 5 | |
| get_event_whitelist() | 65 | 1 | 9 | |
| respond() | 75 | 1 | 4 | |
| get_webhooks_events_list() | 80 | 1 | 3 |